CKEG=00, SSCEN=0, SCGTIOC=0, CST=0, TPCS=0000, CPSCD=0, ICDS=0, MD=0000, SSCGRP=00
General PWM Timer Control Register
CST | Count Start 0 (0): Count operation is stopped 1 (1): Count operation is performed |
ICDS | Input Capture Operation Select During Count Stop 0 (0): Input capture is operated during count stop. 1 (1): Input capture is not operated during count stop. |
SCGTIOC | GTIOC input Source Synchronous Clear Enable 0 (0): Disables to use the counter clear by GTIOC input as the clear factor for other channels 1 (1): Enables to use the counter clear by GTIOC input as the clear factor for other channels |
SSCGRP | Synchronous Set/Clear Group Select 0 (00): Select synchronous set/clear group A 1 (01): Select synchronous set/clear group B 2 (10): Select synchronous set/clear group C 3 (11): Select synchronous set/clear group D |
CPSCD | Complementary PWM Mode Synchronous Clear Disable 0 (0): Enable synchronous counter clear by other channel other than the section of trough in complementary PWM mode 1 (1): Disable synchronous counter clear by other channel other than the section of trough in complementary PWM mode |
SSCEN | Synchronous Set/Clear Enable 0 (0): Disable Synchronous set/clear of the GTCNT counter 1 (1): Enable Synchronous set/clear of the GTCNT counter |
MD | Mode Select 0 (0000): Saw-wave PWM mode 1(single buffer or double buffer possible) 1 (0001): Saw-wave one-shot pulse mode (fixed buffer operation) 2 (0010): Saw-wave PWM mode 2(single buffer or double buffer possible) 3 (0011): Setting prohibited 4 (0100): Triangle-wave PWM mode 1 (32-bit transfer at trough) (single buffer or double buffer possible) 5 (0101): Triangle-wave PWM mode 2 (32-bit transfer at crest and trough) (single buffer or double buffer possible) 6 (0110): Triangle-wave PWM mode 3 (64-bit transfer at trough) (fixed buffer operation) 7 (0111): Setting prohibited 8 (1000): Setting prohibited 9 (1001): Setting prohibited 10 (1010): Setting prohibited 11 (1011): Setting prohibited 12 (1100): Complementary PWM mode 1(transfer at crest) 13 (1101): Complementary PWM mode 2(transfer at trough) 14 (1110): Complementary PWM mode 3(transfer at crest and trough) 15 (1111): Complementary PWM mode 4(immediate transfer) |
TPCS | Timer Prescaler Select 0 (0000): GTCLK/1 1 (0001): GTCLK/2 2 (0010): GTCLK/4 3 (0011): GTCLK/8 4 (0100): GTCLK/16 5 (0101): GTCLK/32 6 (0110): GTCLK/64 7 (0111): GTCLK/128 8 (1000): GTCLK/256 9 (1001): GTCLK/512 10 (1010): GTCLK/1024 11 (1011): Setting prohibited 12 (1100): GTETRGA (Via the POEG) 13 (1101): GTETRGB (Via the POEG) 14 (1110): GTETRGC (Via the POEG) 15 (1111): GTETRGD (Via the POEG)POEG接続数に応じた、GTETRGA-D表示制御必要。 |
CKEG | Clock Edge Select 0 (Others): Select both edge of GTETRG for clock count 0 (00): Select rising edge of GTETRG for clock count 1 (01): Select falling edge of GTETRG for clock count |